package au.com.bluelink.scjp.chap5;

public class AssertTest {

	public static void main(String[] args) {
		
		// testing the assert keyword used as an identifier only
		// int assert; // this fails to compile 
		
		assert true;
		
		assert 1>2;

		// this will only throw an AssretionError 
		// if the java runtime is passed the -ea or -enableassertions argument
		assert 1+1 == 3;
		
		
		

	}

}
